/*
 * dacPacketStructs.h
 *
 * Created: 6/13/2013 2:56:25 AM
 *  Author: Tim
 */ 


#ifndef DACPACKETSTRUCTS_H_
#define DACPACKETSTRUCTS_H_

/*********DAC*********/

typedef enum{
	DAC_CH0_bp = 0x01,
	DAC_CH1_bp = 0x02
}DACM_t;

typedef enum{
	DAC_CH0_msk = 0x00,
	DAC_CH1_msk = 0x01
}DACN_t;

typedef struct dacEnable_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	
	struct dacEnable_parameterByte1
	{
		uint8_t DCHM		:2;
		uint8_t RESERVED	:6;	
	}PARAM1;
	
	uint16_t checkSum;
}dacEnable_t;

#endif /* DACPACKETSTRUCTS_H_ */